export interface ITreeData {
	name: string
	code: string
	id?: string
	key?: string
	isLeaf?: boolean
	sortCode?: number
	status?: boolean
	parentId: string
	remake?: string
	isDeletable?: boolean
	children?: ITreeData[]
}

export interface IResultTreeData {
	data: ITreeData[]
	isSucceed: boolean
	code: string | number
	msg: string
}
export interface IFormatTreeData {
	title: string
	key: string
	value: string
	code: string | number
	children: IFormatTreeData[] | null
	parentId: string
	id: string
	inputCode: string
	url: string
}


export interface ITypeData {
	name: string
	code: string
	parentId?: string | number
	status?: boolean
	remake?: string
	id?: string
}